package com.test.dao;

import com.test.domain.OpenOrder;

import java.util.List;

public interface OpenOrderDao {

    //获取所有订单号通过顾客手机号
    List<String> getOpenOrderNumListByPhoneNumberC(String customerPhoneNumber);

    //获取所有订单号通过商家手机号
    List<String> getOpenOrderNumListByPhoneNumberM(String merchantPhoneNumber);

    //根据订单号查询一整条信息
    OpenOrder getOpenOrderByOpenOrderNumber(String openOrderNumber);

    //更新订单状态
    void updateSituationByMerchantPhoneNumberAndOrderNumber(String merchantPhoneNumber,String orderNumber);
}
